﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hospital.ErrorCode
{
    /// <summary>
    /// API响应结果
    /// </summary>
    /// <typeparam name="T">数据类型</typeparam>
    public class APIResult<T>
    {
        /// <summary>
        /// 响应码
        /// </summary>
        public ResultCode Code { get; set; }

        /// <summary>
        /// 响应消息
        /// </summary>
        public string Message { get; set; } 

        /// <summary>
        /// 响应数据
        /// </summary>
        public T Data { get; set; }


       
    }
}
